﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RayTrace
{
    public class HitRecord
    {
        private double t;
        private Vector3D p;
        private Vector3D normal;
        private Material material;
        public double T { get => t; set => t = value; }
        internal Vector3D P { get => p; set => p = value; }
        internal Vector3D Normal { get => normal; set => normal = value; }
        internal Material Material
        {
            get => material; set => material = value;
        }
    }

}
